home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ MSDOSSYS 3.xpl
< prev
next >
Wrap
Text File
|
1998-08-08
|
2KB
|
79 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="7"
"COUNT"="3"
"UIPATH"="System\Windows 95/98 Boot Options"
"NAME"="ScanDisk Options"
"LANGUAGE"="VBScript"
"TEXT 1"="Never start ScanDisk"
"TEXT 2"="Start ScanDisk after displaying a warning"
"TEXT 3"="Start ScanDisk without warning"
"DESCRIPTION 1"="If Windows detects that your PC has crashed, it starts ScanDisk while booting to correct any HD failures."
"DESCRIPTION 2"="Only set this option to "Never" if you are really sure what you do!"
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.1"
'0 => never
'1 => w/ warning
'2 => no warning
sF="C:\MSDOS.SYS"
sO="OPTIONS"
Sub Plugin_Initialize
If GetWinVer=1 or GetWinVer=3 then
Call FileSetAttribute(sf,"S-")
Call FileSetAttribute(sf,"R-")
Call FileSetAttribute(sf,"H-")
i=IniReadValue(sf,so,"AutoScan")
'If IsEmpty(i) then
' 'Win 95 A don't like this parameter....
' Disable
'else
if i=0 then
SetUIElement 1,true
else
if i=1 then
SetUIElement 2,true
else
SetUIElement 3,true
end if
end if
'end if
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call IniWriteValue(sf,so,"AutoScan",0)
else
b=GetUIElement(2)
if b=true then
Call IniWriteValue(sf,so,"AutoScan",1)
else
Call IniWriteValue(sf,so,"AutoScan",2)
end if
end if
Restart
End Sub
Sub Plugin_Terminate
Call FileSetAttribute("C:\MSDOS.SYS","S+")
Call FileSetAttribute("C:\MSDOS.SYS","R+")
Call FileSetAttribute("C:\MSDOS.SYS","H+")
End Sub